<div id="faq_search">
<table width="100%">
<tr>
<td>
  <%= form_tag("faq_search", {:name => :faq_search, :onsubmit => "return false;"}) %>
  <font class="regulartext">Fråga: </font>
  <%= text_field_tag("faq", "", :size => 50) %>
  <%= observe_field(:faq,
    :function => remote_javascript_function(
      :update => "faq_result",
      :url => "'/help/enterquestion/'+$('faq').value",
      :loading => "$('faq_result').hide();$('faq_result_spinner').show();",
      :complete => "$('faq_result_spinner').hide();$('faq_result').show();"),
    :frequency => 0.5) %>
  </form>
</td>
</tr>
<tr>
  <td class="regulartext">
    <%= spinner("faq_result_spinner") %>
    <div id="faq_result">
      Du kan antingen skriva in en fråga i formuläret ovan eller kolla i kategorierna nedan.
    </div>
  </td>
</tr>
</table>
</div>
